import requset from '@/utils/http'


// 获取商品详情接口
export const getCheckInfoAPI = () => {
    return requset({
        url: '/member/order/pre'
    })
}

// 创建订单

export const createOrderAPI = (data) => {
    return requset({
        url: '/member/order',
        method: 'POST',
        data
    })
}
